package com.hhkj.study.api.index.model.req;

import com.hhkj.study.admin.article.model.req.ArticleReq;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @Author luowu
 * @Date 2024/10/8 涵 11:22:10
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiArticleUpdateReq extends ArticleReq {

    @NotNull(message = "主键id不能为空")
    @Override
    public Long getId() {
        return super.getId();
    }
}
